<template>
  <div class="wrapper">
      32322
  </div>
</template>

<script>
import {  fromPost } from "@/libs/tool";
import {
  systemGet
} from "@/api/index.js";
export default {
name:'design-element',
components:{},
  props:{},
  data(){
    return {
        entrance: [],
    }
  },
  watch:{},
  computed:{},
  methods:{
       fromSummit: fromPost,
        init() {
      let userInfo = JSON.parse(Cookies.get("userInfo"));
      this.userInfo = userInfo;
      this.username = userInfo.username;
      //this.systemALL();
    },
       entranceClick(item) {
      if (item) {
        let data = {
          authToken: this.accessToken,
          templateName: "homepage",
          infoID: null
        };
        this.fromSummit(item, data);
      }
    },
      systemGet() {
      //快捷入口
      systemGet({ idcard: this.userInfo.idcard }).then(res => {
        if (res.code == 200) {
          this.entrance = res.result;
        } else {
          this.$Message.error(res.message);
        }
      });
    },
  },
  created(){},
  mounted(){}
}
</script>
<style lang="less" scoped>
.wrapper{
    width:100%;
    height: 100%;
}
</style>
<style lang="less">
@import "./less/home.less";
@import "../../styles/common.less";
.my-card {
  .ivu-card-body {
    padding: 10px 12px;
  }
}
.my-card1 {
  .ivu-card-body {
    padding: 0;
  }
}
</style>
<style scoped lang="less">
@import "./less/page_home.less";
.demo-carousel {
  width: 100%;
  height: 100%;
}
.page_home_main {
  height: 100%;
}
.page_home_scroll {
  height: 100%;
  width: 100%;
}
</style>